package net.zjitc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.zjitc.domain.User;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> {
    public Long total;
    public List<T> users;
    public PageResult(List<T> users,Long total){
        this.users=users;
        this.total=total;
    }
}
